package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.InfoCategoryInfo;
import org.apache.ibatis.annotations.Param;

/**
 * infocategoryinfoMapper接口
 * 
 * @author ruoyi
 * @date 2023-06-20
 */
public interface InfoCategoryInfoMapper 
{
	Object getMaxOrdernum(@Param("categoryid") String categoryid);
	
	public int deleteByInfoidAndCategoryid(@Param("infoid") String infoid, @Param("categoryid") String categoryid);
    /**
     * 查询infocategoryinfo
     * 
     * @param id infocategoryinfo主键
     * @return infocategoryinfo
     */
    public InfoCategoryInfo selectInfoCategoryInfoById(String id);

    /**
     * 查询infocategoryinfo列表
     * 
     * @param infoCategoryInfo infocategoryinfo
     * @return infocategoryinfo集合
     */
    public List<InfoCategoryInfo> selectInfoCategoryInfoList(InfoCategoryInfo infoCategoryInfo);

    /**
     * 新增infocategoryinfo
     * 
     * @param infoCategoryInfo infocategoryinfo
     * @return 结果
     */
    public int insertInfoCategoryInfo(InfoCategoryInfo infoCategoryInfo);

    /**
     * 修改infocategoryinfo
     * 
     * @param infoCategoryInfo infocategoryinfo
     * @return 结果
     */
    public int updateInfoCategoryInfo(InfoCategoryInfo infoCategoryInfo);

    /**
     * 删除infocategoryinfo
     * 
     * @param id infocategoryinfo主键
     * @return 结果
     */
    public int deleteInfoCategoryInfoById(String id);

    /**
     * 批量删除infocategoryinfo
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInfoCategoryInfoByIds(String[] ids);
}
